package StudyCode.summary.symboliclink;

import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class CreateSymbolicLinkMethod {
	public static void main(String[] args) throws Exception {
		Path targetFile = Paths.get("C:/home/docs/users.txt");
		Path linkFile = Paths.get("C:/home/music/users.txt");
		Files.createSymbolicLink(linkFile, targetFile);
	}
}
